﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:CurveMenu="clr-namespace:CurveMenuPanel;assembly=CurveMenuPanel">
    <Style TargetType="CurveMenu:CurveMenuPanel">
       <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CurveMenu:CurveMenuPanel">
                    <Canvas x:Name="LayoutRoot"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="CurveMenu:Container">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CurveMenu:Container">
                    <Canvas x:Name="LayoutRoot" Width="10" Height="10"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="CurveMenu:CurveMenuItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CurveMenu:CurveMenuItem">
                    <StackPanel x:Name="LayoutRoot" RenderTransformOrigin="0.5,0.5"  Width="75" >
                        <Image x:Name="xImg" Source="" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Top"/>
                        <TextBlock x:Name="xCaption" Text="" TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0" RenderTransformOrigin="0.5,0.5" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
